package cn.iocoder.yudao.module.product.spu.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Schema(description = "用户 APP - 设置/取消为积分产品 Request VO")
@Data
public class AppProductSpuUpdateIntegralReqVO {

    @Schema(description = "产品编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "产品编号不能为空")
    private Long id;

    @Schema(description = "是否积分产品", requiredMode = Schema.RequiredMode.REQUIRED, example = "true")
    @NotNull(message = "是否积分产品")
    private Boolean isIntegral;

}
